package com.prs.crm.dao.official.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.official.DeptMailNumDao;
import com.prs.crm.domain.official.DeptMailNum;

public class DeptMailNumDaoImpl extends BaseDaoImpl<DeptMailNum> implements DeptMailNumDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<DeptMailNum> getAllDeptMailNum() {
		Criteria criteria=this.getSession().createCriteria(DeptMailNum.class);
		return criteria.list();
	}

}
